Commit graph

26 commits

Author SHA1 Message Date
Pavol Rusnak c24ba1de11
librecad: use mkDerivation instead of mkDerivationWith 2022-01-01 15:15:50 +01:00
Jonathan Baldwin 4ce3e862ce librecad: 2.2.0-rc1 -> 2.2.0-rc2 2021-03-20 19:51:44 -04:00
Ben Siraphob 5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Chris Rendle-Short 3a18062a44 librecad: fix missing app name and icon on Wayland
Wayland uses the .desktop file to find the app name and icon. Without it being specified the correct icon is not shown.

Tested on Gnome/Wayland.

References:

  - https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Application_Icon
  - https://doc.qt.io/qt-5/qguiapplication.html#desktopFileName-prop
2020-01-23 08:37:15 +11:00
Robert Djubek e0f6da5655
librecad: fix build
recently this stopped building on nixos-unstable

a git bisect of nixpkgs revealed;

`# first bad commit: [8f729c0070] gcc: switch default to gcc9`

this switches the build to use gcc8Stdenv
2020-01-09 20:39:10 +00:00
Peter Hoeg 454b052450 librecad: 2.1.3 -> 2.2.0-rc1
rc1 is considered stable by upstream.
2019-09-19 12:31:09 +08:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Chris Rendle-Short 2236fe0ab9 librecad: add .desktop file and icon
Use the .desktop file and app icon included in the source package.
2019-04-22 22:17:00 +10:00
Ryan Mulligan 0d5eb901ad treewide: http -> https 2018-06-23 04:34:55 -07:00
Svend Sorensen 3ae052b2a2 librecad: 2.0.10 -> 2.1.3 (#20720) 2016-11-26 16:50:00 +00:00
Svend Sorensen ddcf5d3941 librecad: 2.0.9 -> 2.0.10 2016-05-21 17:32:15 +02:00
Nikolay Amiantov eb386da6da librecad: move to qmake4Hook 2016-04-20 18:55:43 +03:00
ne0phyte 1532ce35b8 librecad: 2.0.8 -> 2.0.9 2016-03-31 04:28:01 +02:00
Bjørn Forsman 10c0791142 librecad: remove old 1.x, make 2.x default
Keep 'librecad2' attribute, for backwards compatibility.
2015-10-23 18:09:23 +02:00
Bjørn Forsman db0589b9fc librecad2: 2.0.7 -> 2.0.8 2015-10-21 14:41:20 +02:00
Svend Sorensen 9c98c95488 Update librecad2 package to 2.0.7 2015-04-17 22:56:52 -07:00
William A. Kennington III a9c472d16e boost: Fix incompatible applications 2014-11-02 17:22:28 -08:00
Peter Simons 2d326e5032 Merge remote-tracking branch 'origin/master' into staging.
Conflicts:
	pkgs/desktops/e18/enlightenment.nix
2014-08-04 16:51:47 +02:00
Mateusz Kowalczyk 7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Eelco Dolstra 40f7b0f9df Another attempt to eradicate ensureDir
See c556a6ea46.
2014-06-30 14:56:10 +02:00
Evgeny Egorochkin 882721b6d0 librecad: update from 1.0.2 to 1.0.4 2014-02-14 21:50:06 +02:00
Evgeny Egorochkin a0b1954611 librecad2: update from 2.0.0beta1 to 2.0.2 2014-02-14 09:31:27 +02:00
Lluís Batlle i Rossell 0f7dee47a1 librecad: adding its 2.0 beta version too 2012-12-11 09:53:25 +01:00
Lluís Batlle i Rossell 66e980ba31 librecad: updating to 1.0.2, and making it install
The expression was unfinished, not installing anything.
2012-11-28 11:40:18 +01:00
Lluís Batlle i Rossell d028c7e00d Adding a preliminary package for librecad. It fails to install still.
svn path=/nixpkgs/trunk/; revision=31255
2012-01-03 21:14:14 +00:00