mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
commit
cd487d6489
28
pkgs/applications/graphics/leocad/default.nix
Normal file
28
pkgs/applications/graphics/leocad/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
To use aditional parts libraries
|
||||||
|
set the variable LEOCAD_LIB=/path/to/libs/ or use option -l /path/to/libs/
|
||||||
|
*/
|
||||||
|
|
||||||
|
{ stdenv, fetchsvn, qt4, zlib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "leocad-${version}";
|
||||||
|
version = "0.81";
|
||||||
|
|
||||||
|
src = fetchsvn {
|
||||||
|
url = "http://svn.leocad.org/tags/${name}";
|
||||||
|
sha256 = "1190gb437ls51hhfiwa79fq131026kywpy3j3k4fkdgfr8a9v3q8";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ qt4 zlib ];
|
||||||
|
|
||||||
|
prefixKey="INSTALL_PREFIX=";
|
||||||
|
configureScript = "qmake leocad.pro";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "CAD program for creating virtual LEGO models";
|
||||||
|
homepage = http://www.leocad.org/;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
inherit (qt4.meta) platforms;
|
||||||
|
};
|
||||||
|
}
|
@ -1631,6 +1631,8 @@ let
|
|||||||
|
|
||||||
kst = callPackage ../tools/graphics/kst { };
|
kst = callPackage ../tools/graphics/kst { };
|
||||||
|
|
||||||
|
leocad = callPackage ../applications/graphics/leocad { };
|
||||||
|
|
||||||
less = callPackage ../tools/misc/less { };
|
less = callPackage ../tools/misc/less { };
|
||||||
|
|
||||||
liquidsoap = callPackage ../tools/audio/liquidsoap/full.nix { };
|
liquidsoap = callPackage ../tools/audio/liquidsoap/full.nix { };
|
||||||
|
Loading…
Reference in New Issue
Block a user